﻿@{
    if (string.Equals(ViewData["error"], "identity"))
    {
        @Html.Partial("~/Views/Shared/_LogoutPartial.cshtml");
        var test = RenderBody();
    }
    else
    {
        Layout = "~/Views/Shared/_SLayout.cshtml";
        ViewBag.Page = "person";
        ViewBag.Status = "login";
        ViewBag.HeaderMenu = "persion";
        ViewBag.Logout = "/usercenter/login";
        ViewBag.Code = ViewData["code"];
        @section HeadCss{
            <link href="~/images/images/style.css" rel="stylesheet" type="text/css" />
            <link href="~/images/images/find.css" rel="stylesheet" type="text/css" />
            @RenderSection("HeadCss", required: false)
        }
        @section HeadJavaScript{
            @RenderSection("HeadJavaScript", required: false)
        }
        <div id="mainsafe">
    	<div class="left">
        	<ul>
            	<li>
                	<a href="txzreg.html"><img src="~/images/images/safe_menu1a.jpg" /></a>
                    <div class="cp1">
                        <div @{ if (ViewBag.Menu == "myinfo")
                            {<text>class="cur"</text>} }><a href="/account/myinfo">我的信息</a></div>
                        <div @{ if (ViewBag.Menu == "modifyinfo")
                            {<text>class="cur"</text>} }><a href="/account/modifyinfo/r/Default">修改资料</a></div>
                        <div @{ if (ViewBag.Menu == "userinfo")
                            {<text>class="cur"</text>} }><a href="/user/containsuser">防沉迷认证</a></div>
                    </div>
                </li>
                <li>
                	<a href="telreg.html"><img src="~/images/images/safe_menu2a.jpg" height="77" /></a>
                    <div class="cp1">
                    	<div @{ if (ViewBag.Menu == "modifypassword")
                            {<text>class="cur"</text>} }><a href="/account/modifypasswordview">修改密码</a></div>
                        <div @{ if (ViewBag.Menu == "answer")
                            {<text>class="cur"</text>} }><a href="/answer/newview">安全信息</a></div>
                        <div @{ if (ViewBag.Menu == "email")
                            {<text>class="cur"</text>} }><a href="/user/getusermail">安全邮箱绑定</a></div>
                        <div @{ if (ViewBag.Menu == "mobile")
                            {<text>class="cur"</text>} }><a href="/mobile/get">绑定安全手机</a></div>
                    </div>
                </li>
            </ul>
            
            	
        	
        </div>
        <div class="right">
            @RenderBody()
        </div>
    </div>
    
    
    
    }
}
